package com.icebartech.core.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.icebartech.core.constants.UserEnum;
import org.springframework.core.annotation.AliasFor;


@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface RequireLogin {
	@AliasFor("value")
	UserEnum[] userEnum() default {};
	
	@AliasFor("userEnum")
	UserEnum[] value() default {};
}
